<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>前台主页</title>
<!--李缘龙-->
<link rel="stylesheet" href="public/css/lyl-text.css" />
<script src="public/js/jquery-1.8.0.js"></script>
</head>

<body class="fatherdiv">
	<div class="nav">
		您好! <a href="" class="">${userinfo.studentName}</a> 部门： <a>${classEntity.className}</a>
		部门经理： <a>${monitor.studentName}</a> 学分： <a
			href="javascript:loadXxx('stu/myscore.jsp')">[${userinfo.totalCredits}分]</a>
		<a target="" class="" href="">[查看课表]</a> <a id="qiantaipass" class=""
			href="qt-user-updatepass">[修改密码]</a> <a class="" href="logout"
			onclick="return confirm('确定退出？')">[注销]</a>
	</div>
	<ul class="nav_head">
		<li>
			<div>
				<img src="public/images/xuexi.png" /> <a href="qiantai">快乐学习</a>
			</div>
		</li>
		<li>
			<div>
				<img src="public/images/quxian.png" /> <a href="qt-assessment">学习评估</a>
			</div>
		</li>
		<!-- <li>
			<div>
				<img src="public/images/rongyu.png" /> <a href="qt-my-honor">我的荣誉</a>
			</div>
		</li>
		
		<li>
			<div>
				<img src="public/images/rizhi.png" /> <a
					href="qt-journal-recommend">教学日志</a>
			</div>
		</li> -->
		<li>
			<div>
				<img src="public/images/jihua.png" /> <a
					href="qt-learnplan-list?id=${userinfo.stuId}">学习计划</a>
			</div>
		</li>
		<li>
			<div>
				<img src="public/images/tuadui.png" /> <a
					href="qt-team-list?id=${userinfo.stuId}">项目团队</a>
			</div>
		</li>
		<li>
			<div>
				<img src="public/images/jiuye.png" /> <a href="chaxuijingyan?id=-1">就业资讯</a>
			</div>
		</li>
	</ul>
	<!--头部上-->
	<div class="left">
<!-- 		<div class="honor_wall_div">
			<h1 class="blue">荣誉墙</h1>
			<h1>荣誉墙</h1>
		</div>
 -->
		<div class="honor_wall_div">
			<h1 class="blue">正在考试</h1>
			<fieldset class="fs">
				<legend>
					可用试卷<span class="small">(共${fn:length(maps2)}份试卷)</span>
				</legend>
				<ul>
					<c:if test="${empty maps2 }">
						<h1>没有可用试卷哦</h1>
					</c:if>
					<c:if test="${maps2!=null }">
						<c:forEach items="${maps2 }" var="maps2">
							<li style="float: left; width: 100%;"><span
								style="float: left; cursor: pointer;"> <img
									src="public/images/level.png" /> <a
									href="qt-unfinished?studentId=${maps2.studentinfo_id }&zuoyeId=${maps2.zuoye_id}"
									style="vertical-align: top;">${maps2.zuoye_name }</a>
							</span> <span style="float: right">${maps2.time }</span></li>
						</c:forEach>
					</c:if>
				</ul>
			</fieldset>
			<!--最近完成考试-->
			<fieldset class="fs">
				<legend>
					最近完成的试卷<span class="small">(共${fn:length(maps4)}份试卷)</span>
				</legend>
				<ul>
					<c:if test="${empty maps4 }">
						<h1>最近没有完成的试卷哦</h1>
					</c:if>
					<c:if test="${maps4!=null }">
						<c:forEach items="${maps4 }" var="maps4">
							<li style="float: left; width: 100%;"><span
								style="float: left; cursor: pointer;"> <img
									src="public/images/level.png" /> <a
									href="qt-unfinished?studentId=${maps4.studentinfo_id }&zuoyeId=${maps4.zuoye_id}"
									style="vertical-align: top;">${maps4.zuoye_name }</a>
							</span> <span style="float: right"> <span
									style="float: right; margin-right: 10px;">${maps4.sumCount==null?'未批改':maps4.sumCount }</span></span>
							</li>
						</c:forEach>
					</c:if>
				</ul>
			</fieldset>
		</div>

		<!-- <div class="honor_wall_div">
			<h1 class="blue">行行行</h1>
			<h1>行行行</h1>
		</div> -->
	</div>
	<!-- ==========上左下右==========  -->
	<div class="right">
		<div style="display: ${jihe==null?'none':'display'}">
			<h1 class="blue">就业榜三强</h1>
			<table border="1"
				style="height: 180px; border-collapse: collapse; width: 98%; margin-top: 20px;">
				<thead>
					<tr style="background: #EEE;">
						<th
							style="border: 1px #CCC solid; padding: 5px; background: white;">排名</th>
						<th
							style="border: 1px #CCC solid; padding: 5px; text-align: left;">部门</th>
						<th style="border: 1px #CCC solid; padding: 5px;">姓名</th>
						<th style="border: 1px #CCC solid; padding: 5px;">城市</th>
						<th
							style="border: 1px #CCC solid; padding: 5px; text-align: left;">公司</th>
						<th style="border: 1px #CCC solid; padding: 5px;">试用薪资</th>
						<th style="border: 1px #CCC solid; padding: 5px;">正式薪资</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${jihe}" var="jihe">
						<tr>
							<td align="center" style="color: red; font-style: bold;">${jihe.paiming }</td>
							<td style="text-align: center;">${jihe.class_name}</td>
							<td align="center">${jihe.user_name}</td>
							<td align="center">${jihe.interview_address}</td>
							<td style="text-align: center;">${jihe.interview_company}</td>
							<td align="center">${jihe.probation_salary}</td>
							<td align="center">${jihe.regular_salary}</td>
						</tr>
					</c:forEach>
					<tr>
						<td colspan="7" style="text-align: left;">你的学习目标就是：出现在韬睿的三强榜中。下一个会是你吗？</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="honor_wall_div">
			<h1 class="blue">我的练习</h1>
			<fieldset class="fs">
				<legend>
					可用练习<span class="small">(共${fn:length(maps)}份练习)</span>
				</legend>
				<ul>
					<c:if test="${empty maps }">
						<h1>没有可用的练习哦</h1>
					</c:if>
					<c:if test="${maps!=null }">
						<c:forEach items="${maps }" var="maps">
							<li style="float: left; width: 100%;"><span
								style="float: left; cursor: pointer;"> <img
									src="public/images/level.png" /> <a
									href="qt-unfinished?studentId=${maps.studentinfo_id }&zuoyeId=${maps.zuoye_id}"
									style="vertical-align: top;">${maps.zuoye_name }</a>
							</span> <span style="float: right">${maps.time }</span></li>
						</c:forEach>
					</c:if>
				</ul>
			</fieldset>
			<!--最近完成-->
			<fieldset class="fs">
				<legend>
					最近完成练习<span class="small">(共${fn:length(maps3)}份练习)</span>
				</legend>
				<ul>
					<c:if test="${empty maps3 }">
						<h1>最近还没有练习哦</h1>
					</c:if>
					<c:if test="${maps3!=null }">
						<c:forEach items="${maps3 }" var="maps3" varStatus="state">
							<li style="float: left; width: 100%;"><span
								style="float: left; cursor: pointer;"> <img
									src="public/images/level.png" /> <a
									href="qt-assignment_details?studentId=${maps3.studentinfo_id }&zuoyeId=${maps3.zuoye_id}"
									style="vertical-align: top;">${maps3.zuoye_name }</a>
							</span> <span style="float: right; margin-right: 10px;">${maps3.sumCount==null?'未批改':maps3.sumCount }
							</span></li>
						</c:forEach>
					</c:if>
				</ul>
			</fieldset>
		</div>
		<div class="honor_wall_div">
			<h1 class="blue">就业喜讯</h1>
			<fieldset class="fs">
				<legend>最近成功上班学员(共2人)</legend>
				<ul>
					<c:forEach items="${zuixinjieye}" var="zuixinjieye" varStatus="state">

						<li style="float: left; width: 100%;margin-bottom: 5px;"><span
							style="float: left;"> <a style="vertical-align: top;">恭喜<b>${zuixinjieye.user_name}</b>在<b>${zuixinjieye.interview_company}</b>成功上班
							</a>
						</span> <span style="float: right;"> <img
								src="public/images/your_score.png" /> <span
								style="vertical-align: top;">薪资：<b
									style="vertical-align: top;">${zuixinjieye.regular_salary}</b></span>
						</span></li>
					</c:forEach>
				</ul>
			</fieldset>
		</div>
	</div>
	<!--底部下-->
	<div class="home_page_bottom">
		<div class="botton_left">
			<img style="height: 50px; margin-left: 10px;"
				src="public/images/downloadlog.png" />
		</div>
		<div class="botton_right">
			<div>
				©2017 <a style="color: gray;">中科韬睿</a> 版权所有 版本 Ver 1.1.8
			</div>
			<div>研发部技术总监 李赞红 郭华</div>
			<div>电话 18573308384 18673363711</div>
		</div>
	</div>
</body>
</html>